Revert 20105:979fd420311b
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 21 Aug 2009 16:00:01 +0000 (17:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 21 Aug 2009 16:00:01 +0000 (17:00 +0100)
tools/libxc/Makefile

index faf94c9807995647f2bcec3dc843c492d6e306ca..5693025e60ecd6ab866f206948b78dd7b7799d26 100644 (file)
@@ -151,9 +151,13 @@ libxenguest.so: libxenguest.so.$(MAJOR)
 libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
        ln -sf $< $@
 
+ifeq ($(CONFIG_MiniOS),y)
+.zlib.deps:
+       echo >$@
+else
 .zlib.deps:
        @(set -e;                                       \
-          . $(XEN_ROOT)/tools/check/funcs.sh;          \
+          . ../check/funcs.sh;                         \
          echo >$@.new;                                 \
          if has_header bzlib.h; then                   \
             echo "-DHAVE_BZLIB" >>$@.new;              \
@@ -166,6 +170,7 @@ libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
            echo " - LZMA decompression supported";     \
          fi;                                           \
          mv $@.new $@)
+endif
 
 xc_dom_bzimageloader.o: .zlib.deps
 xc_dom_bzimageloader.o: CFLAGS += $(shell grep D .zlib.deps)